#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include<iostream>
using namespace std;

void Swap(int& i , int& j)
{
	int tmp = i;
	i = j;
	j = tmp;
}
void test1(int x = 0,int y = 1,int z = 9)
{
	cout << x << endl;
	cout << y << endl;
	cout << z << endl;
	cout << endl;
}
int main()
{
	int i = 0;
	int j = 1;
	int k = 0; int l;
	Swap(i, j);
	cout << i << endl <<  j << endl;
	test1(1);
	test1(1, 2);
	test1(1, 2, 3);
	return 0;
}